package com.coin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coin.domain.CoinRecharge;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 李力
 * @description 针对表【coin_recharge(数字货币充值记录)】的数据库操作Service
 * @createDate 2025-06-12 10:12:53
 */
public interface CoinRechargeService extends IService<CoinRecharge> {

    /**
     * @Description: 分页查询
     * @Author: 李 力
     * @Date: 2025/6/13
     * @Param:
     * @return: R
     */
    Page<CoinRecharge> findByPage(Page<CoinRecharge> page, Long coinId, Long userId, String userName, String mobile, Byte status, String numMin, String numMax, String startTime, String endTime);

    /**
     * @Description: 根据用户某种币的Id分页查询
     * @Author: 李 力
     * @Date: 2025/6/20
     * @Param:
     * @return: R
     */
    Page<CoinRecharge> findUserCoinRecharge(Page<CoinRecharge> page, Long coinId, Long userId);
}
